/* 论坛页面的基本样式 */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
}

header .user-options a {
    margin-left: 15px;
    color: #fff;
    text-decoration: none;
}

nav {
    background-color: #222;
    color: #fff;
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

.forum-section {
    padding: 20px;
}

h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.forum-categories {
    display: flex;
    justify-content: space-around;
}

.category {
    width: 30%;
}

.category h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.category ul {
    list-style: none;
}

.category ul li a {
    text-decoration: none;
    color: #007BFF;
}

.latest-topics .topic-list {
    margin-top: 20px;
}

.topic-item {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.topic-item h3 a {
    color: #333;
    text-decoration: none;
}

.btn-more {
    display: inline-block;
    padding: 10px 15px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.new-topic form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.new-topic .form-group {
    margin-bottom: 15px;
}

.new-topic .form-group input, .new-topic .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
